package logger

// https://blog.csdn.net/qq_21439971/article/details/54581677
// https://blog.csdn.net/xcl168/article/details/41819735
// https://github.com/xcltapestry/xclpkg/blob/master/clcolor/clcolor.go

const (
	black = iota + 30
	red
	green
	yellow
	blue
	magenta
	cyan
	white
)

// Black Black
func Black(str string) string {
	return color(black, str)
}

// Red Red
func Red(str string) string {
	return color(red, str)
}

// Green Green
func Green(str string) string {
	return color(green, str)
}

// Yellow Yellow
func Yellow(str string) string {
	return color(yellow, str)
}

// Blue Blue
func Blue(str string) string {
	return color(blue, str)
}

// Magenta Magenta
func Magenta(str string) string {
	return color(magenta, str)
}

// Cyan Cyan
func Cyan(str string) string {
	return color(cyan, str)
}

// White White
func White(str string) string {
	return color(white, str)
}

func Gray(str string) string {
	return ColorRGB(200, 200, 200, str)
}
